﻿// -------------------------------------------------------------------------
//    @FileName         :    NFNavmeshUtil.h
//    @Author           :    gaoyi
//    @Date             :    2025-03-24
//    @Email			:    445267987@qq.com
//    @Module           :    NFNavmeshUtil
//
// -------------------------------------------------------------------------

#pragma once

#include "NFGameCommon/tinyxml2.h"

class NFNavmeshUtil
{
public:
    static int MakeAllNavmesh(const char* path);
    static int MakeNavmesh(const char* path, const char * filename);
    static int ReadElementNavmeshData(tinyxml2::XMLElement* pElement, const char * pszPath, const char * pszResName);
    static int ClientNavData2ServerObjData(char* szObjData, int iMaxBuffSize, int& vertext_num, int& trig_num, tinyxml2::XMLElement *pVertexElement, tinyxml2::XMLElement *pTrigIndexElement, const char * res_name);
};
